package com.code.design.model.demo.factory.factorymethodpattern;

import com.code.design.model.demo.factory.simplefactorypattern.HighEndMask;
import com.code.design.model.demo.factory.simplefactorypattern.IMask;

/**
 * 高端口罩工厂
 *
 * @author tangyifei
 */
public class HighEndFactory implements IMaskFactory {

    @Override
    public IMask createMask() {
        IMask mask = new HighEndMask();
        // .....
        // HighEndMask的100行初始化代码
        return mask;
    }
}
